<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>支付成功</title>
		<!-- 引入样式 -->
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@beta/lib/index.css">
		<!-- 引入组件 -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/vant@beta/lib/vant.min.js"></script>
		<script type="application/javascript" src="../js/flexible.debug.js"></script>
		<script type="application/javascript" src="../js/flexible_css.debug.js"></script>
		<script type="text/javascript" src="../js/jquery-1.10.1.min.js"></script>
		<script type="text/javascript" src="../js/querystring.min.js"></script>
		<script type="text/javascript" src="../js/cfg.js"></script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
		<link rel="stylesheet" href="../css/layout.css">
	</head>
	<body>
		<div id="app" v-cloak class="backgroundcolorfff height100">
			<div class="top zhifubg width100 height405 pad-tb60">
				<p class="width96 height96 displayTable"><img src="../img/iconsuccess.png" alt="支付成功" class="width100p"></p>
				<p class="displayTable textCenter colorfff font38 mg-tb30">支付成功</p>
				<p class="font30 colorfff letterSpacing1 textCenter">订单编号：{{orderno}}</p>
			</div>
			<div class="zhifudes mg-t20  pad-lr24">
				<p class="erweima width252 height252 radious10 backgroundcolorf72929 displayTable"></p>
				<p class="font26 color666 textCenter letterSpacing1 mg-t38 mg-b99 displayTable">温馨提示：请关注公众号，查看订单详情！</p>
				<p class="width520 height88 lineHeight88 textCenter colorfff displayTable radious10 font34 mg-t30 backgroundcolor08c160">邀请团友</p>
			</div>
		</div>
		<script>
			var textType="0";
			var vant = window.vant;
			var qsd=querystring.parse();
			var cfg = new AppCfg().init({
				isDebug: false,
			});
			var amount=querystring.parse().amount;
			Vue.use(vant);
			var myapp=new Vue({
				el: '#app',
				data: {
					current: 0,
					images: [
						'https://img.yzcdn.cn/2.jpg',
						'https://img.yzcdn.cn/2.jpg'
					],
					active: 2,
					orderNumber: 1,
					value: 1,
					price:299,
					amount:amount,
					orderno:qsd.parent_order_no?qsd.parent_order_no:'',
					orderType:qsd.url_type?qsd.url_type:'',
					userid:'',
					userinfo:'',
					textType:'1'
				},
				created: function() {
					this.userInfo();
				},
				mounted:function(){
					console.log(this.userid)
				},
				methods: {
					userInfo:function(){
						var that=this;
						cfg.majaxAction("queryOcobUserByUserId", '', function(res) {
							if(res.data){
								console.log(res.data)
								that.userinfo=res.data;
								that.userid=res.data.id;
							}else{
								that.userinfo='';
								that.userid=''
							}
						});
					},
				},
				filters:{
					formatFixed:function(val){
						return parseFloat(val).toFixed(2)
					}
				}
			})
		</script>
		<script type="text/javascript" src="../js/h5Share.js"></script>
	</body>
</html>
